Ext.define('MyApp.view.authority.AuthorityForm', {
	extend: 'MyApp.view.ux.BaseWindow',
	alias: 'widget.authorityform',
	initComponent: function(){
		Ext.apply(this, {
			title : '增加新权限',
			items: [{
				xtype: 'baseform',
				items: [{
						name: 'authorityName',
						emptyText : '输入权限名称,不能为空',
						vtype:'alphanum',
						fieldLabel: '权限名称'
					},{
						name: 'authorityDescription',
						fieldLabel: '权限描述'
					},{
							xtype : 'hiddenfield',
							name : 'navigationid'
					}
				]
			}]
		});
		this.callParent(arguments);
	}
});